package io.renren.sf.dao;

import io.renren.sf.entity.HzFixedInformationDicEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.sf.vo.CopyingSteleCalligraphyYearsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-05-09 14:55:06
 */
@Mapper
public interface HzFixedInformationDicDao extends BaseMapper<HzFixedInformationDicEntity> {

    List<HzFixedInformationDicEntity> queryYears(Integer curPage, Integer pageSize, String fixedInformationName);

    Integer queryFixedInformationDicsNum(String fixedInformationName);

    List<HzFixedInformationDicEntity> findByIds(long yid, long sid, long cid);

    Long getIdByTypeAndName(String name, String type);
}
